package com.zian.service;

import com.zian.domain.dto.CarouselDTO;
import com.zian.domain.dto.PageDTO;
import com.zian.domain.po.SysCarousel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zian.domain.query.PageQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2024-09-08
 */
public interface ISysCarouselService extends IService<SysCarousel> {

    void addCarousel(CarouselDTO dto);

    PageDTO<SysCarousel> queryPage(PageQuery query);

    void updateCarousel(CarouselDTO dto);

    void deleteCarouselByIds(List<Long> ids);

    CarouselDTO getCarouselById(Long id);

}
